package com.ioc.business.job.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ioc.business.job.domain.JobTaskDistribution;
import com.ioc.business.job.domain.bo.task.distribution.JobTaskDistributionBo;
import com.ioc.business.job.domain.bo.task.distribution.JobTaskDistributionQueryBo;
import com.ioc.business.job.vo.task.distribution.JobTaskDistributionImportVo;
import com.ioc.business.job.vo.task.distribution.JobTaskDistributionPageVo;
import com.ioc.business.job.vo.task.distribution.JobTaskDistributionVo;
import com.ioc.common.core.page.TableVo;

import java.util.List;

/**
 * <p>
 * 作业任务分布表 服务类
 * </p>
 *
 * @author WeiZhongRong
 * @since 2025-01-08
 */
public interface IJobTaskDistributionService extends IService<JobTaskDistribution> {
    /**
     * 分页查询作业任务分布列表
     *
     * @param queryBo
     * @return
     */
    TableVo<JobTaskDistribution, JobTaskDistributionPageVo> selectJobTaskDistributionPageList(JobTaskDistributionQueryBo queryBo);


    /**
     * 查询作业任务分布详情信息
     *
     * @param jobTaskDistributionId
     * @return
     */

    JobTaskDistributionVo selectJobTaskDistributionById(Long jobTaskDistributionId);

    /**
     * 新增作业任务分布
     *
     * @param bo
     * @return
     */
    boolean addJobTaskDistribution(JobTaskDistributionBo bo);

    /**
     * 编辑作业任务分布
     *
     * @param bo
     * @return
     */
    boolean updateJobTaskDistribution(JobTaskDistributionBo bo);

    /**
     * 删除作业任务分布
     *
     * @param idList
     * @return
     */
    boolean removeJobTaskDistribution(List<Long> idList);

    /**
     * 导入发货订单数据
     *
     * @param voList
     */
    void importJobTaskDistribution(List<JobTaskDistributionImportVo> voList);
}
